package com.macro.mall.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.macro.mall.model.BmsMuseumGroup;
import com.macro.mall.query.BmsMuseumGroupQuery;

public interface BmsMuseumGroupMapper {

    List<BmsMuseumGroup> findList(BmsMuseumGroupQuery query);

    int insert(BmsMuseumGroup bmsMuseumGroup);

    int updateById(BmsMuseumGroup bmsMuseumGroup);

    BmsMuseumGroup getById(@Param("id") Long id);

    int updateDeleteId(@Param("ids") List<Long> ids);

    int deleteByMuseumId(@Param("museumId") Long museumId);

    List<BmsMuseumGroup> getByMuseumId(@Param("museumId") Long museumId);

}
